package com.example.gokchinesefoodmappcdev.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*
* 订单信息的excel实体
* */
public class OrderInfoExcel extends BaseRowModel implements Serializable {

    @ExcelProperty(value = {"订单编号"}, index = 0)
    private String orderNo;

    @ExcelProperty(value = {"订单状态"}, index = 1)
    private Integer orderStatus;

    @ExcelProperty(value = {"用户账号"}, index = 2)
    private Integer customerId;

    @ExcelProperty(value = {"创建开始时间"}, index = 3)
    private Date gmtCreate;

    @ExcelProperty(value = {"创建结束时间"}, index = 4)
    private Date closeTime;

    @ExcelProperty(value = {"订单来源"}, index = 5)
    private String orderSource;

}
